<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,user-scalable=no"name="viewport">
<title>扫我享折扣</title>
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/base.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/bootstrap.min.css" />
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/bootstrap.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/script.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/jQuery.textSlider.js" /></script>
</head>
<body>
<div id="box">
 <div class="navbar navbar-default navbar-fixed-top">
  <header>
   <h1><a href="index.html"><span class="glyphicon glyphicon-menu-left"></span></a></h1>
   <p class="title">扫我享折扣</p>
  </header>
 </div><!--navbar-fixed-top-->
 <div class="erweimas">
  <!--<h3><span class="glyphicon glyphicon-menu-left"></span></h3>-->
  <div class="erweis">
   <p>NO.<?php echo ($data['id']); ?></p>
   <h1><img src="<?php echo C('WEB_URL'); echo ($data['erwei']); ?>" id="but" /></h1>
   <!--<h5><img src="images/erwei_03.jpg" />点我刷新试试</h5>-->
   <div id="scrollDiv">
   <div class="scrollText">
    <ul style="margin-top: 0px; ">
 
    </ul>
   </div>
   
  </div>
 
  </div>
 </div><!--erweima-->
 <?php if($list2["purview"] == 0): ?><div class="navbar navbar-default navbar-fixed-bottom">	
   <footer>
    <dl>
     <dt><a href="index.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/home.png" /></a></dt>
     <dd><a href="index.html" class="current">首页</a></dd>
    </dl>
    <dl>
     <dt><a href="pullrefresh_sub.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/deal_07.jpg" /></a></dt>
     <dd><a href="pullrefresh_sub.html">员工管理</a></dd>
    </dl>
    <dl>
     <dt><a href="manage.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/deal_09.jpg" /></a></dt>
     <dd><a href="manage.html">会员管理</a></dd>
    </dl>
   </footer>
   
  </div><!--/navbar-->
 	<?php else: endif; ?>
</div><!--box-->
<!--会员卡续费成功弹出页面 -->
 <div id="popup"><a href="javascript:;" class="a_click">
  <div id="click_div">
   <div id="dialog">
	<h3><img src="<?php echo C('WEB_URL');?>Public/business/images/paysuc_03.jpg" /></h3>
	<h4>恭喜,顾客已成功享受本次优惠！</h4>
  </div>
 </div></a>
</div>
 <!--会员卡续费成功弹出页面 End-->
 <script type="text/javascript">
 //微信判断header是否显示
if(isWeiXin()){ 
//alert("====");
$(".title").hide();
} 
else{
//alert("+++++");
}	
 //会员卡续费成功弹出页面 JS
$("#but").click(function(){
	$("#click_div").show();
//	setTimeout(function () {
//    $("#click_div").fadeIn();
//  }, 500);
})  
$(".a_click").click(function(){
	$("#click_div").hide();
//	setTimeout(function () {
//    $("#click_div").fadeOut();
//  }, 500);
});

//文字上下滚动
$(document).ready(function(){
    $("#scrollDiv").textSlider({line:1,speed:500,timer:3000});
});
//文字上下滚动End
</script>
</body>
</html>